import ajax from './ajax'

export const getMyMember = params => {
  return ajax({
    url: '/AiPartnerCourese/MyMember',
    method: 'POST',
    data: params
  })
}

export const openMembership = params => {
  return ajax({
    url: '/AiPartnerCourese/BecomeMemberVIP',
    method: 'POST',
    data: params
  })
}

export const getPrice = () => {
  return ajax({
    url: '/AiMemberShare/GetPrice'
  })
}

export const addMember = params => {
  return ajax({
    url: '/AiPartnerCourese/AddMember',
    method: 'POST',
    data: params
  })
}

export const getLevelList = () => {
  return ajax({
    url: '/AiPartnerCourese/GetMainCoursesLevelList'
  })
}